<!DOCTYPE html>
<html lang="en">
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>line riding dots</title>
  <link rel="stylesheet" href="./style.css" type="text/css" />
  <body>
    <div class="wrapper"></div>
    <script>
      const wrapper = document.querySelector(".wrapper");
      const frag = document.createDocumentFragment();
      for (let i = 0; i < 12; i++) {
        const line = document.createElement("div");
        line.classList.add(`line-${i + 1}`);
        line.classList.add(`line`);
        const circle = document.createElement("div");
        circle.classList.add("circle");
        circle.classList.add(`circle-${i + 1}`);
        line.appendChild(circle);
        frag.appendChild(line);
      }
      wrapper.appendChild(frag);
    </script>
  </body>
</html>
